<?php

include_once("common/common.php");
include_once("util/WeixinUtil.php");

//菜单设置
$jsonmenu = '{
     "button":[
        {  
            "name":"我",
            "sub_button":[
                {
                    "type":"click",
                    "name":"公益名片",
                    "key":"V1001_PIC_CODE"
                },
                {
                    "type":"click",
                    "name":"已报名活动",
                    "key":"V1001_ACTIVES"
                },
                {
                    "type":"view",
                    "name":"成为共青团志愿者",
                    "url":"http://mp.weixin.qq.com/s?__biz=MjM5Mjg2MTIxNA==&mid=207298322&idx=1&sn=f3606eefa89a2b14b2e37f9820e222a2"
                }
            ]
           
        },
        {  
            "type":"view",
            "name":"微社区",
            "url":"http://www.dakaqi.cn/"
        },
        {  
            "type":"view",
            "name":"下载APP",
            "url":"http://wap.dakaqi.cn/down.html"
        }
       ]
 }';

WeixinUtil::createMenu($jsonmenu);


